package com.yuyou.train.admin.vo.resp;

import java.util.List;

/**
 * Created by yujin.liu on 2018/1/23.
 */
public class RespAuthRoleResource {

    /** 业务主键 */
    private String id;

    /** parent_id */
    private String parentId;

    /** 资源名字 */
    private String resourceName;

    /** 资源类型 1:菜单 2:操作 */
    private String resourceType;

    /** 页面url */
    private String pageUrl;

    /** 图标地址 */
    private String iconUrl;

    /** 权限 */
    private String permission;

    /** 排序 */
    private Integer sort;

    /** 是否选中 */
    private boolean checked;

    private List<RespAuthRoleResource> children;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public List<RespAuthRoleResource> getChildren() {
        return children;
    }

    public void setChildren(List<RespAuthRoleResource> children) {
        this.children = children;
    }
}
